home *** CD-ROM | disk | FTP | other *** search
Wrap
iiiissssnnnnaaaannnn((((3333CCCC)))) iiiissssnnnnaaaannnn((((3333CCCC)))) NNNNAAAAMMMMEEEE _iiii_ssss_nnnn_aaaa_nnnn, _iiii_ssss_nnnn_aaaa_nnnn_dddd, _iiii_ssss_nnnn_aaaa_nnnn_ffff, _ffff_iiii_nnnn_iiii_tttt_eeee, _ffff_pppp_cccc_llll_aaaa_ssss_ssss, _uuuu_nnnn_oooo_rrrr_dddd_eeee_rrrr_eeee_dddd, _iiii_ssss_nnnn_aaaa_nnnn_llll, _ffff_iiii_nnnn_iiii_tttt_eeee_llll, _ffff_pppp_cccc_llll_aaaa_ssss_ssss_llll, _uuuu_nnnn_oooo_rrrr_dddd_eeee_rrrr_eeee_dddd_llll - determine type of floating-point number SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_iiii_eeee_eeee_eeee_ffff_pppp_...._hhhh_>>>> _iiii_nnnn_tttt _iiii_ssss_nnnn_aaaa_nnnn_dddd _((((_dddd_oooo_uuuu_bbbb_llll_eeee _dddd_ssss_rrrr_cccc_))))_;;;; _iiii_nnnn_tttt _iiii_ssss_nnnn_aaaa_nnnn_ffff _((((_ffff_llll_oooo_aaaa_tttt _ffff_ssss_rrrr_cccc_))))_;;;; _iiii_nnnn_tttt _ffff_iiii_nnnn_iiii_tttt_eeee _((((_dddd_oooo_uuuu_bbbb_llll_eeee _dddd_ssss_rrrr_cccc_))))_;;;; _ffff_pppp_cccc_llll_aaaa_ssss_ssss______tttt _ffff_pppp_cccc_llll_aaaa_ssss_ssss _((((_dddd_oooo_uuuu_bbbb_llll_eeee _dddd_ssss_rrrr_cccc_))))_;;;; _iiii_nnnn_tttt _uuuu_nnnn_oooo_rrrr_dddd_eeee_rrrr_eeee_dddd _((((_dddd_oooo_uuuu_bbbb_llll_eeee _dddd_ssss_rrrr_cccc_1111_,,,, _dddd_oooo_uuuu_bbbb_llll_eeee _dddd_ssss_rrrr_cccc_2222_))))_;;;; _ffff_pppp_cccc_llll_aaaa_ssss_ssss______tttt _ffff_pppp_cccc_llll_aaaa_ssss_ssss_llll _((((_llll_oooo_nnnn_gggg _dddd_oooo_uuuu_bbbb_llll_eeee _dddd_ssss_rrrr_cccc_))))_;;;; _iiii_nnnn_tttt _ffff_iiii_nnnn_iiii_tttt_eeee_llll _((((_llll_oooo_nnnn_gggg _dddd_oooo_uuuu_bbbb_llll_eeee _dddd_ssss_rrrr_cccc_))))_;;;; _iiii_nnnn_tttt _uuuu_nnnn_oooo_rrrr_dddd_eeee_rrrr_eeee_dddd_llll _((((_llll_oooo_nnnn_gggg _dddd_oooo_uuuu_bbbb_llll_eeee _dddd_ssss_rrrr_cccc_1111_,,,, _llll_oooo_nnnn_gggg _dddd_oooo_uuuu_bbbb_llll_eeee _dddd_ssss_rrrr_cccc_2222_))))_;;;; _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_mmmm_aaaa_tttt_hhhh_...._hhhh_>>>> _iiii_nnnn_tttt _iiii_ssss_nnnn_aaaa_nnnn _((((_dddd_oooo_uuuu_bbbb_llll_eeee _dddd_ssss_rrrr_cccc_))))_;;;; _iiii_nnnn_tttt _iiii_ssss_nnnn_aaaa_nnnn_llll _((((_llll_oooo_nnnn_gggg _dddd_oooo_uuuu_bbbb_llll_eeee _dddd_ssss_rrrr_cccc_))))_;;;; DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN (Note that the long double routines are only valid for the MIPSpro compilers.) Long double functions have been renamed to be compliant with the ANSI-C standard, however to be backward compatible, they may still be called with the double precision function name prefixed with a q. (Exception: function _i_s_n_a_n_l may be called with the name _i_s_n_a_n_q.) _iiii_ssss_nnnn_aaaa_nnnn, _iiii_ssss_nnnn_aaaa_nnnn_dddd, _iiii_ssss_nnnn_aaaa_nnnn_ffff, and _iiii_ssss_nnnn_aaaa_nnnn_llll return true (1) if the argument _d_s_r_c or _f_s_r_c is a NaN; otherwise they return false (0). The functionality of _iiii_ssss_nnnn_aaaa_nnnn is identical to that of _iiii_ssss_nnnn_aaaa_nnnn_dddd. _ffff_pppp_cccc_llll_aaaa_ssss_ssss and _ffff_pppp_cccc_llll_aaaa_ssss_ssss_llll return the class the _d_s_r_c belongs to. The 10 possible classes are as follows: FP_SNAN signaling NaN FP_QNAN quiet NaN FP_NINF negative infinity FP_PINF positive infinity FP_NDENORM negative denormalized non-zero FP_PDENORM positive denormalized non-zero FP_NZERO negative zero FP_PZERO positive zero PPPPaaaaggggeeee 1111 iiiissssnnnnaaaannnn((((3333CCCC)))) iiiissssnnnnaaaannnn((((3333CCCC)))) FP_NNORM negative normalized non-zero FP_PNORM positive normalized non-zero In the case of long doubles, non-zero numbers less than 2**-916 in absolute value are classified as denormalized, since one of the numbers used in their representation may be a denormal double. _ffff_iiii_nnnn_iiii_tttt_eeee and _ffff_iiii_nnnn_iiii_tttt_eeee_llll return true (1) if the argument _d_s_r_c is neither infinity nor NaN; otherwise they return false (0). _uuuu_nnnn_oooo_rrrr_dddd_eeee_rrrr_eeee_dddd and _uuuu_nnnn_oooo_rrrr_dddd_eeee_rrrr_eeee_dddd_llll return true (1) if one of their two arguments is unordered with respect to the other argument. This is equivalent to reporting whether either argument is NaN. If neither of the arguments is NaN, false (0) is returned. None of these routines generate any exceptions, even for signaling NaNs. Note that the SVR4 function _ffff_pppp_cccc_llll_aaaa_ssss_ssss is distinct from the functions documented in _f_p__c_l_a_s_s(3C). SSSSEEEEEEEE AAAALLLLSSSSOOOO _ffff_pppp_gggg_eeee_tttt_rrrr_oooo_uuuu_nnnn_dddd(3C), _ffff_pppp______cccc_llll_aaaa_ssss_ssss(3C), _iiii_nnnn_tttt_rrrr_oooo(3M). PPPPaaaaggggeeee 2222